gobject-introspection: support cross-compilation #176464
gobject-introspection: support cross-compilation #176464Artturin merged 5 commits intoNixOS:stagingfrom
Conversation
|
Hmm, will we need to build such wrapper for each package using gobject-introspection? |
SuperSandro2000
left a comment
There was a problem hiding this comment.
Only some formatting improvements. Thanks for trying to bring this forward. I really really appreciate it!
|
I do like this better than having it in json-glib at least :). Still need to try it out |
SuperSandro2000
left a comment
There was a problem hiding this comment.
I think we are in a good state here now!
@Mindavi what do you think? Can we merge this soon?
The hook is not always needed even with meson, small example |
|
Cool, yeah, if it's not always needed I think it's preferred to not have to have an emulator unless it's really needed. |
52d21bf to
047597d
Compare
ebf1f89 to
8e18a52
Compare
fixes building documentation while cross-compiling and other issues Exec format error: './gdk3-scan' added some simple documentation
has prelink-rltd and the normal prelink tools
used the following as references https://github.com/void-linux/void-packages/blob/master/srcpkgs/gobject-introspection and https://git.busybox.net/buildroot/tree/package/gobject-introspection thanks void and buildroot
we may not need this so reverting for now
|
Thanks everyone! |
with this json-glib cross-compiles and the gir files exist, have not tested running any binaries on aarch64
#88222
#72868
https://github.com/void-linux/void-packages/blob/master/srcpkgs/gobject-introspection/template and the buildroot mk file were inspirations
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes